<template>
  <div class="loading">
    <img
      src="/images/loading.gif"
      alt="">
  </div>
</template>

<script>
export default {
  name: 'Loading',
  data() {
    return {}
  }
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.loading img {
  left: 40%;
  top: 40%;
  margin: 5rem auto;
  width: 100px;
  height: 100px;
}
</style>
